import Vue from 'vue'
import Router from 'vue-router'


Vue.use(Router)
import Login from "./views/login.vue"
import Home from "./components/home.vue"


export default new Router({
  routes: [
    {
      path:"/",redirect: "/login"
    },
   {
     path:"/login",component:Login
   },
   {
     path:'/home',component:Home
   }
  ]
})
